package games.gong.durid.common;

/**
 * 权限常量类，用于集中管理所有权限名称
 */
public class PermissionConstants {
    
    // 用户相关权限
    public static final String USER_CREATE = "USER_CREATE";
    public static final String USER_READ = "USER_READ";
    public static final String USER_UPDATE = "USER_UPDATE";
    public static final String USER_DELETE = "USER_DELETE";
    
    // 角色相关权限
    public static final String ROLE_CREATE = "ROLE_CREATE";
    public static final String ROLE_READ = "ROLE_READ";
    public static final String ROLE_UPDATE = "ROLE_UPDATE";
    public static final String ROLE_DELETE = "ROLE_DELETE";
    
    // 权限相关权限
    public static final String PERMISSION_CREATE = "PERMISSION_CREATE";
    public static final String PERMISSION_READ = "PERMISSION_READ";
    public static final String PERMISSION_UPDATE = "PERMISSION_UPDATE";
    public static final String PERMISSION_DELETE = "PERMISSION_DELETE";
    
    // 用户角色关联相关权限
    public static final String USER_ROLE_CREATE = "USER_ROLE_CREATE";
    public static final String USER_ROLE_READ = "USER_ROLE_READ";
    public static final String USER_ROLE_DELETE = "USER_ROLE_DELETE";
    
    // 角色权限关联相关权限
    public static final String ROLE_PERMISSION_CREATE = "ROLE_PERMISSION_CREATE";
    public static final String ROLE_PERMISSION_READ = "ROLE_PERMISSION_READ";
    public static final String ROLE_PERMISSION_DELETE = "ROLE_PERMISSION_DELETE";
}